<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h2>接口文档地址： https://www.showdoc.com.cn/ajaxapi/3753323218792173</h2>
  <button id="getNoParams">发起get不带参数</button>
  <script src="./lib/jquery.js"></script>

  <script>
    $('#getNoParams').on('click', function() {
      // 发get请求
      $.get('http://www.liulongbin.top:3006/api/getbooks', function(res) {
        console.log(res)
      })
    })
  </script>
</body>
</html>